#include "Blocks/ChristmasTreeBlock.h"

namespace PocketSurvival
{
    int32_t ChristmasTreeBlock::getEmittedLightAmount(int32_t value)
    {
        if (!GetLightState(Terrain::ExtractData(value)))
        {
            return 0;
        }
        return DefaultEmittedLightAmount;
    }

    int32_t ChristmasTreeBlock::getIndex()
    {
        return Index();
    }

    const std::string &ChristmasTreeBlock::getBlockName()
    {
        static std::string blockName = "ChristmasTreeBlock";
        return blockName;
    }

} // namespace PocketSurvival
